package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户地址对象 user_address
 * 
 * @author ruoyi
 * @date 2022-06-16
 */
public class UserAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单商品ID */
    private Long id;

    /** 用户名 */
    @Excel(name = "用户名")
    private Long userId;



    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 电话 */
    @Excel(name = "电话")
    private String tele;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 区id */
    @Excel(name = "区id")
    private String areaId;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isDel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setTele(String tele)
    {
        this.tele = tele;
    }

    public String getTele() 
    {
        return tele;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setAreaId(String areaId) 
    {
        this.areaId = areaId;
    }

    public String getAreaId() 
    {
        return areaId;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("username", getUsername())
            .append("tele", getTele())
            .append("address", getAddress())
            .append("areaId", getAreaId())
            .append("isDel", getIsDel())
            .toString();
    }
}
